Prioritized Static Slicing for Effective Fault Localization in the Absence of Runtime Information

نویسندگان

  • Yiji Zhang
  • Raul Santelices
چکیده

Static slicing identifies the parts of a program that might affect another point in that program. Unfortunately, static slicing often produces large and imprecise results because of its conservative nature. Dynamic slicing can be a practical alternative, but it requires runtime information that might not be available, or be hard to obtain, or have low quality. To deal with the imprecision of static slicing, we present PRIOSLICE, a novel static approach that exploits the insight that not all statements reported by static slicing are equally likely to cause a program failure. PRIOSLICE first defines and solves a probabilistic model of program dependencies. In this model, some data dependencies are more likely to occur than others and control dependencies are less likely to propagate errors than data dependencies. PRIOSLICE then traverses the program backwards, just like static slicing, but prioritizing dependencies by likelihood. Our study of fault localization, presented in this paper, indicates that PRIOSLICE can help localize faults much more effectively than existing static-slicing approaches.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Bridging the Gap Between Slicing and Model-based Diagnosis

Fault localization is considered an important and difficult task in the software engineering process. In the last decades several approaches to fault localization have been published. Some of them are based on either static or dynamic program slicing. In this paper, we present an approach that combines program slicing with the computation of hitting sets. Hitting sets are used in model-based di...

متن کامل

Program slicing spectrum-based software fault localization

Spectrum-based fault localization technique mainly utilizes testing coverage information to calculate the suspiciousness of each program element to find the faulty element. However, this technique does not fully take consideration of dependences between program elements , thus its capacity for efficient fault localization is limited. This paper combines program slicing with program spectrum tec...

متن کامل

Experimental Evaluation of Hybrid Algorithm in Spectrum based Fault Localization

During debugging process in software development cycle, fault localization is inevitable work. Diverse approaches have been proposed, such as program slicing, machine learning, and data mining for fault localization. In this paper we propose an effective hybrid fault localization algorithm based on a spectrum that enables fault detection in every statement. This algorithm distinguishes the loca...

متن کامل

Automated Fitness Guided Fault Localization

Software fault localization is an essential and expensive process in software correction, which motivates the design of analysis tools that automate this process as much as possible. This paper presents the Fitness Guided Fault Localization (FGFL) system, a novel approach to fault localization that employs an ensemble of software analysis techniques guided by a fitness function to perform autom...

متن کامل

On the adoption of MC/DC and control-flow adequacy for a tight integration of program testing and statistical fault localization

Context: Testing and debugging consume a significant portion of software development effort. Both processes are usually conducted independently despite their close relationship with each other. Test adequacy is vital for developers to assure that sufficient testing effort has been made, while finding all the faults in a program as soon as possible is equally important. A tight integration betwe...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013